package jf.jextn.util;

import java.util.AbstractMap;

public class SimpleEntry<K, V> extends AbstractMap.SimpleEntry<K, V> implements Pair<K, V> {
    private static final long serialVersionUID = 422982671064112223L;

    public SimpleEntry(K key, V value) {
        super(key, value);
    }

    @Override
    public K getFirst() {
        return getKey();
    }

    @Override
    public V getSecond() {
        return getValue();
    }
}
